package mspbots.data.tl.prod.autotask.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import mspbots.data.tl.entity.BaseTenantEntity;

import java.time.LocalDateTime;

@Data
@Builder
@EqualsAndHashCode(callSuper=false)
@AllArgsConstructor
@NoArgsConstructor
@TableName("task_autotask_timeentry")
public class TaskAutotaskTimeEntry extends BaseTenantEntity {

    private Long timeEntryId;
    private Long ticketId;
    private Long taskId;
    private Long roleId;
    private Long contactId;
    private String contactName;
    private LocalDateTime dateWorked;
    private Long resourceId;
    private LocalDateTime endDateTime;
    private LocalDateTime startDateTime;
    private String summaryNotes;
    private Boolean isNonBillable;
    private Boolean showOnInvoice;
    private Integer timeEntryType;
    private Double hoursToBill;
    private Double hoursWorked;
    private Double offsetHours;
    private LocalDateTime createDateTime;
    private LocalDateTime lastModifiedDateTime;
    private Long lastModifiedUserId;
    private Long creatorUserId;
    private LocalDateTime syncTime;
    private String action;
    private String ticketLink;

    private Long contractId;
    private String link;
}
